<!--
 * @Description: 404
 * @Version: 1.0
 * @Autor: jiajun wu
 * @Date: 2021-11-30 10:40:20
 * @LastEditors: jiajun wu
 * @LastEditTime: 2021-11-30 10:43:56
-->
<!-- 404 -->
<template>
  <a-result
    status="404"
    title="404"
    sub-title="抱歉，您访问的页面不存在。"
  >
    <template #extra>
      <a-button type="primary" @click="toHome"> 返回首页 </a-button>
    </template>
  </a-result>
</template>

<script>
import { defineComponent } from "vue";
export default defineComponent({
  components: {},
  setup() {
    return {};
  },
  methods: {
    toHome() {
      this.$router.push({ path: "/" });
    },
  },
});
</script>
<style lang='less' scoped>
</style>